<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
    <title>love.forte.simbot.common.api.messages.events (docName 0.0.1)</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="dc.created" content="2020-03-25">
    <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.css" title="Style">
    <script type="text/javascript" src="../jquery/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../jquery/jquery-migrate-3.0.1.js"></script>
    <script type="text/javascript" src="../jquery/jquery-ui.js"></script>

    <script type="text/javascript" src="../search.js"></script>
    <script async type="text/javascript" src="../module-search-index.js"></script>
    <script async type="text/javascript" src="../package-search-index.js"></script>
    <script async type="text/javascript" src="../type-search-index.js"></script>
    <script async type="text/javascript" src="../member-search-index.js"></script>
    <script async type="text/javascript" src="../tag-search-index.js"></script>
</head><body>
<script type="text/javascript"><!--
try {
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title = "adaptation (terrain-generator 0.0.1 API)";
    }
} catch (err) {
}
//-->
var pathtoroot = "../";
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
    <nav role="navigation">
        <div class="fixedNav">
            <!-- ========= START OF TOP NAVBAR ======= -->
            <div class="topNav"><a id="navbar.top">
                <!--   -->
            </a>
                <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
                </div>
                <a id="navbar.top.firstrow">
                    <!--   -->
                </a>
                <ul class="navList" title="Navigation">
    <li><a href="../index.html">Overview</a></li>
    
    <li class="navBarCell1Rev">Package</li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li>Deprecated</li>
    <li>Index</li>
    <li>Help</li>
</ul></div>
            <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
<li><a href="../allclasses.html">All&nbsp;Classes</a></li>
</ul>

<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
        </div>
        <div class="navPadding">&nbsp;</div>
        <script type="text/javascript"><!--
        $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
        //-->
        </script>
    </nav>
</header>
<main role="main">
    <div class="header">
        <h1 title="Package" class="title">love.forte.simbot.common.api.messages.events 0.0.1 API</h1>
    </div>
        <div class="header">
            <div class="subtitle">
                <div class="block"></div>
            </div>
            <p>See: <a href="#overview_description">Description</a></p>
        </div>
    <div class="contentContainer">
        
            <ul class="blockList">
                
                <li class="blockList">
                    
                    
                    
                    
                    
    <div class="typeSummary">

<table>
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=MsgGet.html>MsgGet</a></th><td class="colLast">监听消息的父接口。所有的监听消息都应当实现的容器：</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=EventGet.html>EventGet</a></th><td class="colLast">事件父接口，是当一个监听类型为得不到 <a href=EventGet.html#msg()>消息文本</a> 的事件的时候使用的接口。此父接口与 <a href=MsgGet.html>MsgGet</a> 的唯一区别就是此接口为 <a href=EventGet.html#msg()>msg</a> 提供了无效化的默认实现。</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=MessageEventGet.html>MessageEventGet</a></th><td class="colLast">与消息有关的事件<a href=MessageEventGet.html>MessageEventGet</a>中除了需要实现<a href=MsgGet.html>MsgGet</a>以外, 还要实现<a href=../love.forte.simbot.common.api.messages.containers/FlagContainer.html>FlagContainer</a>以标识一个消息内容的标识。 但是一般来讲, <a href=../love.forte.simbot.common.api.messages.assists/FlagContent.html>FlagContent</a> 都可以用 <a href=MessageEventGet.html#id()>id</a> 来代替。因此 <a href=../love.forte.simbot.common.api.messages.assists/FlagContent.html>FlagContent</a> 提供为默认方法并使用 <a href=MessageEventGet.html#id()>id</a> 作为返回值。如果有特殊需要则重写</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=MessageRecallEventGet.html>MessageRecallEventGet</a></th><td class="colLast">与消息撤回有关的事件, 例如 <a href=GroupMsgRecall.html>群消息撤回</a> 或者 <a href=PrivateMsgRecall.html>私聊撤回</a>一般来讲应该可以得到撤回的<a href=MsgGet.html#msg()>消息内容</a>以及<a href=MessageRecallEventGet.html#recallTime()>撤回时间</a></td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=MemberChangesEventGet.html>MemberChangesEventGet</a></th><td class="colLast">成员变动事件接口，是<a href=IncreaseEventGet.html>增加事件</a> 与 <a href=ReduceEventGet.html>减少事件</a>的父接口.</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=IncreaseEventGet.html>IncreaseEventGet</a></th><td class="colLast">与 增加 有关的事件，例如 群友增加 或者 好友增加</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=ReduceEventGet.html>ReduceEventGet</a></th><td class="colLast">与 减少 有关的事件，例如 群友减少 或者 好友减少</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=RequestGet.html>RequestGet</a></th><td class="colLast">与 请求 相关的父接口</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=ChangedGet.html>ChangedGet</a></th><td class="colLast">出现变化的事件。例如权限变更、头像变更、名称变更等等。 大多数情况下，此类事件都是在变更完了之后触发的。</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=GroupMemberPermissionChanged.html>GroupMemberPermissionChanged</a></th><td class="colLast">群成员权限变动事件。 一般来讲，权限变动无非就是 成为管理 或者 被取消管理</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupNameChanged.html>GroupNameChanged</a></th><td class="colLast">群名称变动事件。</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=GroupMemberRemarkChanged.html>GroupMemberRemarkChanged</a></th><td class="colLast">群友群名片变动事件。</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupMemberSpecialChanged.html>GroupMemberSpecialChanged</a></th><td class="colLast">群友头衔变动事件。</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=FriendNicknameChanged.html>FriendNicknameChanged</a></th><td class="colLast">好友昵称变动事件</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=FriendAvatarChanged.html>FriendAvatarChanged</a></th><td class="colLast">好友头像变动事件</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=FriendIncrease.html>FriendIncrease</a></th><td class="colLast">好友增加.</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupMemberIncrease.html>GroupMemberIncrease</a></th><td class="colLast">群友增加.</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=PrivateMsg.html>PrivateMsg</a></th><td class="colLast">私聊消息.</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupMsg.html>GroupMsg</a></th><td class="colLast">群消息， 需要实现 <a href=MessageEventGet.html>MessageEventGet</a> , <a href=../love.forte.simbot.common.api.messages.containers/GroupContainer.html>GroupContainer</a> , <a href=../love.forte.simbot.common.api.messages.containers/PermissionContainer.html>PermissionContainer</a></td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=PrivateMsgRecall.html>PrivateMsgRecall</a></th><td class="colLast">私聊消息撤回</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupMsgRecall.html>GroupMsgRecall</a></th><td class="colLast">群聊消息撤回</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=FriendReduce.html>FriendReduce</a></th><td class="colLast">好友减少事件</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupReduce.html>GroupReduce</a></th><td class="colLast">群友减少事件一般指群友已经减少后.</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=FriendAddRequest.html>FriendAddRequest</a></th><td class="colLast">好友请求事件。 此时申请人尚未成为好友。</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=GroupAddRequest.html>GroupAddRequest</a></th><td class="colLast">群添加请求。此时申请人尚未入群。</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=GroupAddRequestInvitor.html>GroupAddRequestInvitor</a></th><td class="colLast"><a href=GroupAddRequest.html>群添加请求</a> 中的邀请者信息。</td></tr>
</tbody>
</table>

    </div>

                </li>
                
                <li class="blockList">
                    
                    
                    
                    
                    
    <div class="typeSummary">

<table>
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=PrivateMsgIdFlagContent.html>PrivateMsgIdFlagContent</a></th><td class="colLast">针对于 <a href=PrivateMsg.html>PrivateMsg</a> 的 <a href=PrivateMsg.html#PrivateMsg.FlagContent>标识主体</a> 的实现 基于 id 作为标识主体</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=GroupMsgIdFlagContent.html>GroupMsgIdFlagContent</a></th><td class="colLast">基于ID作为标识主体的 <a href=GroupMsg.html#GroupMsg.FlagContent>GroupMsg.FlagContent</a> 实现</td></tr>

    <tr class="altColor"><th class="colFirst" scope="row"><a href=FriendAddRequestIdFlagContent.html>FriendAddRequestIdFlagContent</a></th><td class="colLast">使用 id 作为标识载体的 <a href=FriendAddRequest.html#FriendAddRequest.FlagContent>标识主体</a> 实现</td></tr>

    <tr class="rowColor"><th class="colFirst" scope="row"><a href=GroupAddRequestIdFlagContent.html>GroupAddRequestIdFlagContent</a></th><td class="colLast">使用 id 作为标识载体的 <a href=GroupAddRequest.html#GroupAddRequest.FlagContent>GroupAddRequest.FlagContent</a> 实现</td></tr>
</tbody>
</table>

    </div>

                </li>
                
            </ul>
        
    </div>
</main>
<footer role="contentinfo">
    <nav role="navigation">
        <!-- ======= START OF BOTTOM NAVBAR ====== -->
        <div class="bottomNav"><a id="navbar.bottom">
            <!--   -->
        </a>
            <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
            </div>
            <a id="navbar.bottom.firstrow">
                <!--   -->
            </a>
            <ul class="navList" title="Navigation">
    <li><a href="../index.html">Overview</a></li>
    
    <li class="navBarCell1Rev">Package</li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li>Deprecated</li>
    <li>Index</li>
    <li>Help</li>
</ul></div>
        <a id="skip.navbar.bottom">
            <!--   -->
        </a></div>
        <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
<li><a href="../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
    </nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
    style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>
